package com.flower.subject.domain.convent;

import com.flower.subject.domain.entity.SubjectCategoryBO;
import com.flower.subject.domain.entity.SubjectLabelBO;
import com.flower.subject.infra.basic.entity.SubjectCategory;
import com.flower.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANT = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertToSubjectLabel(SubjectLabelBO subjectLabelBO);


    List<SubjectLabelBO> convertBoTOSubjectLabel(List<SubjectLabel> subjectLabels);




}
